package quotation.web.user.ddd.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author lyx
 * @date 2024/7/19
 */
@Data
public class LoginForm {

    @NotEmpty(message = "账号为空")
    private String account;

    @NotEmpty(message = "密码为空")
    @ApiModelProperty("密码的md5值")
    private String passwd;

    @ApiModelProperty("微信openId")
    private String openId;

    // TODO: 2025/2/24 验证码出现规则待定
    @ApiModelProperty("验证码")
    private String verificationCode;
}
